package cn.jekun.web.shop.bean;


import cn.jekun.component.core.bean.gen.ErpMerchandise;

/**
 * 商品信息
 * @author hc
 *
 */
@SuppressWarnings("serial")
public class Merchandise extends ErpMerchandise{
	private String unitName; //单位名称
	private Integer inventory;//库存数
	private Integer inventoryWarn;//告警阀值
	private Double salePrice;//商品销售价
	private Double costPrice;//商品成本价
	private Integer countSales;//销售量
	private String vendorName;//生产厂家名称
	private String merchandiseTypeName;//二级商品类型名称
	private String shopMerchandiseTypeName;//二级商家自定义商品分类
	private String merchandiseTypeParentName;//一级商品类型名称
	private String shopMerchandiseTypeParentName;//一级商家自定义商品分类
	
	public String getShopMerchandiseTypeName() {
		return shopMerchandiseTypeName;
	}
	public void setShopMerchandiseTypeName(String shopMerchandiseTypeName) {
		this.shopMerchandiseTypeName = shopMerchandiseTypeName;
	}
	public String getUnitName() {
		return unitName;
	}
	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}
	public Integer getInventory() {
		return inventory;
	}
	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}
	public Integer getInventoryWarn() {
		return inventoryWarn;
	}
	public void setInventoryWarn(Integer inventoryWarn) {
		this.inventoryWarn = inventoryWarn;
	}
	public Double getSalePrice() {
		return salePrice;
	}
	public void setSalePrice(Double salePrice) {
		this.salePrice = salePrice;
	}
	public Double getCostPrice() {
		return costPrice;
	}
	public void setCostPrice(Double costPrice) {
		this.costPrice = costPrice;
	}
	public Integer getCountSales() {
		return countSales;
	}
	public void setCountSales(Integer countSales) {
		this.countSales = countSales;
	}
	public String getVendorName() {
		return vendorName;
	}
	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}
	public String getMerchandiseTypeName() {
		return merchandiseTypeName;
	}
	public void setMerchandiseTypeName(String merchandiseTypeName) {
		this.merchandiseTypeName = merchandiseTypeName;
	}
	
	public String getMerchandiseTypeParentName() {
		return merchandiseTypeParentName;
	}
	public void setMerchandiseTypeParentName(String merchandiseTypeParentName) {
		this.merchandiseTypeParentName = merchandiseTypeParentName;
	}
	public String getShopMerchandiseTypeParentName() {
		return shopMerchandiseTypeParentName;
	}
	public void setShopMerchandiseTypeParentName(
			String shopMerchandiseTypeParentName) {
		this.shopMerchandiseTypeParentName = shopMerchandiseTypeParentName;
	}
	
	
}
